import pickle

#pkl_string = open('elements.pkl', 'r').read()

pkl_string = '''(dp0
S'Pr'
p1
(dp2
S'ma'
p3
F140.907657
sS'name'
p4
S'Praseodymium'
p5
sS'ano'
p6
I59
sS'isos'
p7
(lp8
(F141.0
F140.907657
F100.0
tp9
asS'sym'
p10
g1
sS'mw'
p11
F140.9077
ssS'Ni'
p12
(dp13
g3
F57.935347
sg4
S'Nickel'
p14
sg6
I28
sg7
(lp15
(F58.0
F57.935347
F68.27
tp16
a(F60.0
F59.930789
F26.1
tp17
a(F61.0
F60.931059
F1.13
tp18
a(F62.0
F61.928346
F3.59
tp19
a(F64.0
F63.927968
F0.91
tp20
asg10
g12
sg11
F58.71
ssS'Ru'
p21
(dp22
g3
F101.904348
sg4
S'Ruthenium'
p23
sg6
I44
sg7
(lp24
(F96.0
F95.907596
F5.52
tp25
a(F98.0
F97.905287
F1.88
tp26
a(F99.0
F98.905937
F12.7
tp27
a(F100.0
F99.904218
F12.6
tp28
a(F101.0
F100.905581
F17.0
tp29
a(F102.0
F101.904348
F31.6
tp30
a(F104.0
F103.905422
F18.7
tp31
asg10
g21
sg11
F101.07
ssS'Y'
p32
(dp33
g3
F88.905856
sg4
S'Yttrium'
p34
sg6
I39
sg7
(lp35
(F89.0
F88.905856
F100.0
tp36
asg10
g32
sg11
F88.9059
ssS'Fe'
p37
(dp38
g3
F55.934939
sg4
S'Iron'
p39
sg6
I26
sg7
(lp40
(F54.0
F53.939612
F5.8
tp41
a(F56.0
F55.934939
F91.72
tp42
a(F57.0
F56.935396
F2.2
tp43
a(F58.0
F57.933278
F0.28
tp44
asg10
g37
sg11
F55.847
ssS'Pt'
p45
(dp46
g3
F194.964785
sg4
S'Platinum'
p47
sg6
I78
sg7
(lp48
(F190.0
F189.959937
F0.01
tp49
a(F192.0
F191.961049
F0.79
tp50
a(F194.0
F193.962679
F32.9
tp51
a(F195.0
F194.964785
F33.8
tp52
a(F196.0
F195.964947
F25.3
tp53
a(F198.0
F197.967879
F7.2
tp54
asg10
g45
sg11
F195.09
ssS'La'
p55
(dp56
g3
F138.906355
sg4
S'Lanthanum'
p57
sg6
I57
sg7
(lp58
(F138.0
F137.907114
F0.09
tp59
a(F139.0
F138.906355
F99.91
tp60
asg10
g55
sg11
F138.9055
ssS'S'
p61
(dp62
g3
F31.972072
sg4
S'Sulfur'
p63
sg6
I16
sg7
(lp64
(F32.0
F31.972072
F95.02
tp65
a(F33.0
F32.971459
F0.75
tp66
a(F34.0
F33.967868
F4.21
tp67
a(F36.0
F35.967079
F0.02
tp68
asg10
g61
sg11
F32.06
ssS'Na'
p69
(dp70
g3
F22.98977
sg4
S'Sodium'
p71
sg6
I11
sg7
(lp72
(F23.0
F22.98977
F100.0
tp73
asg10
g69
sg11
F22.98977
ssS'Nb'
p74
(dp75
g3
F92.906378
sg4
S'Niobium'
p76
sg6
I41
sg7
(lp77
(F93.0
F92.906378
F100.0
tp78
asg10
g74
sg11
F92.9064
ssS'Nd'
p79
(dp80
g3
F141.907731
sg4
S'Neodymium'
p81
sg6
I60
sg7
(lp82
(F142.0
F141.907731
F27.13
tp83
a(F143.0
F142.909823
F12.18
tp84
a(F144.0
F143.910096
F23.8
tp85
a(F145.0
F144.912582
F8.3
tp86
a(F146.0
F145.913126
F17.19
tp87
a(F148.0
F147.916901
F5.76
tp88
a(F150.0
F149.9209
F5.64
tp89
asg10
g79
sg11
F144.24
ssS'Mg'
p90
(dp91
g3
F23.985045
sg4
S'Magnesium'
p92
sg6
I12
sg7
(lp93
(F24.0
F23.985045
F78.9
tp94
a(F25.0
F24.985839
F10.0
tp95
a(F26.0
F25.982595
F11.1
tp96
asg10
g90
sg11
F24.305
ssS'Li'
p97
(dp98
g3
F7.016005
sg4
S'Lithium'
p99
sg6
I3
sg7
(lp100
(F6.0
F6.015123
F7.42
tp101
a(F7.0
F7.016005
F92.58
tp102
asg10
g97
sg11
F6.94
ssS'Pb'
p103
(dp104
g3
F207.976641
sg4
S'Lead'
p105
sg6
I82
sg7
(lp106
(F204.0
F203.973037
F1.4
tp107
a(F206.0
F205.974455
F24.1
tp108
a(F207.0
F206.975885
F22.1
tp109
a(F208.0
F207.976641
F52.4
tp110
asg10
g103
sg11
F207.2
ssS'Re'
p111
(dp112
g3
F186.955765
sg4
S'Rhenium'
p113
sg6
I75
sg7
(lp114
(F185.0
F184.952977
F37.4
tp115
a(F187.0
F186.955765
F62.6
tp116
asg10
g111
sg11
F186.207
ssS'Tl'
p117
(dp118
g3
F204.97441
sg4
S'Thallium'
p119
sg6
I81
sg7
(lp120
(F203.0
F202.972336
F29.52
tp121
a(F205.0
F204.97441
F70.48
tp122
asg10
g117
sg11
F204.37
ssS'Lu'
p123
(dp124
g3
F174.940785
sg4
S'Lutetium'
p125
sg6
I71
sg7
(lp126
(F175.0
F174.940785
F97.4
tp127
a(F176.0
F175.942694
F2.6
tp128
asg10
g123
sg11
F174.96
ssS'Se'
p129
(dp130
g3
F79.916521
sg4
S'Selenium'
p131
sg6
I34
sg7
(lp132
(F74.0
F73.922477
F0.9
tp133
a(F76.0
F75.919207
F9.0
tp134
a(F77.0
F76.919908
F7.6
tp135
a(F78.0
F77.917304
F23.5
tp136
a(F80.0
F79.916521
F49.6
tp137
a(F82.0
F81.916709
F9.4
tp138
asg10
g129
sg11
F78.96
ssS'Pd'
p139
(dp140
g3
F105.903475
sg4
S'Palladium'
p141
sg6
I46
sg7
(lp142
(F102.0
F101.905609
F1.02
tp143
a(F104.0
F103.904026
F11.14
tp144
a(F105.0
F104.905075
F22.33
tp145
a(F106.0
F105.903475
F27.33
tp146
a(F108.0
F107.903894
F26.46
tp147
a(F110.0
F109.905169
F11.72
tp148
asg10
g139
sg11
F106.4
ssS'Ti'
p149
(dp150
g3
F47.947947
sg4
S'Titanium'
p151
sg6
I22
sg7
(lp152
(F46.0
F45.952633
F8.0
tp153
a(F47.0
F46.951765
F7.3
tp154
a(F48.0
F47.947947
F73.8
tp155
a(F49.0
F48.947871
F5.5
tp156
a(F50.0
F49.944786
F5.4
tp157
asg10
g149
sg11
F47.9
ssS'Te'
p158
(dp159
g3
F129.906229
sg4
S'Tellurium'
p160
sg6
I52
sg7
(lp161
(F122.0
F121.903055
F2.6
tp162
a(F123.0
F122.904278
F0.91
tp163
a(F124.0
F123.902825
F4.82
tp164
a(F125.0
F124.904435
F7.14
tp165
a(F126.0
F125.90331
F18.95
tp166
a(F128.0
F127.904464
F31.69
tp167
a(F130.0
F129.906229
F33.8
tp168
asg10
g158
sg11
F127.6
ssS'Rh'
p169
(dp170
g3
F102.905503
sg4
S'Rhodium'
p171
sg6
I45
sg7
(lp172
(F103.0
F102.905503
F100.0
tp173
asg10
g169
sg11
F102.9055
ssS'Rb'
p174
(dp175
g3
F84.9118
sg4
S'Rubidium'
p176
sg6
I37
sg7
(lp177
(F85.0
F84.9118
F72.17
tp178
a(F87.0
F86.909184
F27.84
tp179
asg10
g174
sg11
F85.467
ssS'Sr'
p180
(dp181
g3
F87.905625
sg4
S'Strontium'
p182
sg6
I38
sg7
(lp183
(F84.0
F83.913428
F0.56
tp184
a(F86.0
F85.909273
F9.86
tp185
a(F87.0
F86.908902
F7.0
tp186
a(F88.0
F87.905625
F82.58
tp187
asg10
g180
sg11
F87.62
ssS'Ta'
p188
(dp189
g3
F180.948014
sg4
S'Tantalum'
p190
sg6
I73
sg7
(lp191
(F180.0
F179.947489
F0.012
tp192
a(F181.0
F180.948014
F99.99
tp193
asg10
g188
sg11
F180.947
ssS'Be'
p194
(dp195
g3
F9.012183
sg4
S'Beryllium'
p196
sg6
I4
sg7
(lp197
(F9.0
F9.012183
F100.0
tp198
asg10
g194
sg11
F9.01218
ssS'Xe'
p199
(dp200
g3
F131.904148
sg4
S'Xenon'
p201
sg6
I54
sg7
(lp202
(F124.0
F123.905894
F0.1
tp203
a(F126.0
F125.904281
F0.09
tp204
a(F128.0
F127.903531
F1.91
tp205
a(F129.0
F128.90478
F26.4
tp206
a(F130.0
F129.90351
F4.1
tp207
a(F131.0
F130.905076
F21.2
tp208
a(F132.0
F131.904148
F26.9
tp209
a(F134.0
F133.905395
F10.4
tp210
a(F136.0
F135.907219
F8.9
tp211
asg10
g199
sg11
F131.3
ssS'Ba'
p212
(dp213
g3
F137.905236
sg4
S'Barium'
p214
sg6
I56
sg7
(lp215
(F130.0
F129.906277
F0.11
tp216
a(F132.0
F131.905042
F0.1
tp217
a(F134.0
F133.90449
F2.42
tp218
a(F135.0
F134.905668
F6.59
tp219
a(F136.0
F135.904556
F7.85
tp220
a(F137.0
F136.905816
F11.23
tp221
a(F138.0
F137.905236
F71.7
tp222
asg10
g212
sg11
F137.33
ssS'Tb'
p223
(dp224
g3
F158.92535
sg4
S'Terbium'
p225
sg6
I65
sg7
(lp226
(F159.0
F158.92535
F100.0
tp227
asg10
g223
sg11
F158.9254
ssS'Yb'
p228
(dp229
g3
F173.938873
sg4
S'Ytterbium'
p230
sg6
I70
sg7
(lp231
(F168.0
F167.933908
F0.13
tp232
a(F170.0
F169.934774
F3.05
tp233
a(F171.0
F170.936338
F14.3
tp234
a(F172.0
F171.936393
F21.9
tp235
a(F173.0
F172.938222
F16.12
tp236
a(F174.0
F173.938873
F31.8
tp237
a(F176.0
F175.942576
F12.7
tp238
asg10
g228
sg11
F173.04
ssS'Bi'
p239
(dp240
g3
F208.980388
sg4
S'Bismuth'
p241
sg6
I83
sg7
(lp242
(F209.0
F208.980388
F100.0
tp243
asg10
g239
sg11
F208.9804
ssS'W'
p244
(dp245
g3
F183.950953
sg4
S'Tungsten'
p246
sg6
I74
sg7
(lp247
(F180.0
F179.946727
F0.13
tp248
a(F182.0
F181.948225
F26.3
tp249
a(F183.0
F182.950245
F14.3
tp250
a(F184.0
F183.950953
F30.67
tp251
a(F186.0
F185.954377
F28.6
tp252
asg10
g244
sg11
F183.85
ssS'Gd'
p253
(dp254
g3
F157.924111
sg4
S'Gadolinium'
p255
sg6
I64
sg7
(lp256
(F152.0
F151.919803
F0.2
tp257
a(F154.0
F153.920876
F2.18
tp258
a(F155.0
F154.822629
F14.8
tp259
a(F156.0
F155.92213
F20.47
tp260
a(F157.0
F156.923967
F15.65
tp261
a(F158.0
F157.924111
F24.84
tp262
a(F160.0
F159.927061
F21.86
tp263
asg10
g253
sg11
F157.25
ssS'Ho'
p264
(dp265
g3
F164.930332
sg4
S'Holmium'
p266
sg6
I67
sg7
(lp267
(F165.0
F164.930332
F100.0
tp268
asg10
g264
sg11
F164.9304
ssS'Br'
p269
(dp270
g3
F78.918336
sg4
S'Bromine'
p271
sg6
I35
sg7
(lp272
(F79.0
F78.918336
F50.69
tp273
a(F81.0
F80.91629
F49.31
tp274
asg10
g269
sg11
F79.904
ssS'Dy'
p275
(dp276
g3
F163.929183
sg4
S'Dysprosium'
p277
sg6
I66
sg7
(lp278
(F156.0
F155.924287
F0.06
tp279
a(F158.0
F157.924412
F0.1
tp280
a(F160.0
F159.925203
F2.34
tp281
a(F161.0
F160.926939
F18.9
tp282
a(F162.0
F161.926805
F25.5
tp283
a(F163.0
F162.928737
F24.9
tp284
a(F164.0
F163.929183
F28.2
tp285
asg10
g275
sg11
F162.5
ssS'K'
p286
(dp287
g3
F38.963708
sg4
S'Potassium'
p288
sg6
I19
sg7
(lp289
(F39.0
F38.963708
F93.2
tp290
a(F40.0
F39.963999
F0.012
tp291
a(F41.0
F40.961825
F6.73
tp292
asg10
g286
sg11
F39.0983
ssS'Hf'
p293
(dp294
g3
F179.946561
sg4
S'Hafnium'
p295
sg6
I72
sg7
(lp296
(F174.0
F173.940065
F0.16
tp297
a(F176.0
F175.94142
F5.2
tp298
a(F177.0
F176.943233
F18.6
tp299
a(F178.0
F177.94371
F27.1
tp300
a(F179.0
F178.945827
F13.74
tp301
a(F180.0
F179.946561
F35.2
tp302
asg10
g293
sg11
F178.49
ssS'Hg'
p303
(dp304
g3
F201.970632
sg4
S'Mercury'
p305
sg6
I80
sg7
(lp306
(F196.0
F195.965812
F0.15
tp307
a(F198.0
F197.96676
F10.1
tp308
a(F199.0
F198.968269
F17.0
tp309
a(F200.0
F199.968316
F23.1
tp310
a(F201.0
F200.970293
F13.2
tp311
a(F202.0
F201.970632
F29.65
tp312
a(F204.0
F203.973481
F6.8
tp313
asg10
g303
sg11
F200.59
ssS'He'
p314
(dp315
g3
F4.002603
sg4
S'Helium'
p316
sg6
I2
sg7
(lp317
(F3.0
F3.016029
F0.0001
tp318
a(F4.0
F4.002603
F100.0
tp319
asg10
g314
sg11
F4.0026
ssS'C'
p320
(dp321
g3
F12.0
sg4
S'Carbon'
p322
sg6
I6
sg7
(lp323
(F12.0
F12.0
F98.9
tp324
a(F13.0
F13.003355
F1.1
tp325
asg10
g320
sg11
F12.011
ssS'B'
p326
(dp327
g3
F11.009305
sg4
S'Boron'
p328
sg6
I5
sg7
(lp329
(F10.0
F10.012938
F19.8
tp330
a(F11.0
F11.009305
F80.2
tp331
asg10
g326
sg11
F10.81
ssS'P'
p332
(dp333
g3
F30.973763
sg4
S'Phosphorus'
p334
sg6
I15
sg7
(lp335
(F31.0
F30.973763
F100.0
tp336
asg10
g332
sg11
F30.97376
ssS'F'
p337
(dp338
g3
F18.998403
sg4
S'Fluorine'
p339
sg6
I9
sg7
(lp340
(F19.0
F18.998403
F100.0
tp341
asg10
g337
sg11
F18.998403
ssS'I'
p342
(dp343
g3
F126.904477
sg4
S'Iodine'
p344
sg6
I53
sg7
(lp345
(F127.0
F126.904477
F100.0
tp346
asg10
g342
sg11
F126.9045
ssS'H'
p347
(dp348
g3
F1.007825
sg4
S'Hydrogen'
p349
sg6
I1
sg7
(lp350
(F1.0
F1.007825
F99.99
tp351
a(F2.0
F2.014102
F0.015
tp352
asg10
g347
sg11
F1.0079
ssS'Mo'
p353
(dp354
g3
F97.905405
sg4
S'Molybdenum'
p355
sg6
I42
sg7
(lp356
(F92.0
F91.906809
F14.84
tp357
a(F94.0
F93.905086
F9.25
tp358
a(F95.0
F94.905838
F15.92
tp359
a(F96.0
F95.904676
F16.68
tp360
a(F97.0
F96.906018
F9.55
tp361
a(F98.0
F97.905405
F24.13
tp362
a(F100.0
F99.907473
F9.63
tp363
asg10
g353
sg11
F95.94
ssS'Mn'
p364
(dp365
g3
F54.938046
sg4
S'Manganese'
p366
sg6
I25
sg7
(lp367
(F55.0
F54.938046
F100.0
tp368
asg10
g364
sg11
F54.938
ssS'O'
p369
(dp370
g3
F15.994915
sg4
S'Oxygen'
p371
sg6
I8
sg7
(lp372
(F16.0
F15.994915
F99.76
tp373
a(F17.0
F16.999131
F0.038
tp374
a(F18.0
F17.999159
F0.2
tp375
asg10
g369
sg11
F15.9994
ssS'Ne'
p376
(dp377
g3
F19.992439
sg4
S'Neon'
p378
sg6
I10
sg7
(lp379
(F20.0
F19.992439
F90.6
tp380
a(F21.0
F20.993845
F0.26
tp381
a(F22.0
F21.991384
F9.2
tp382
asg10
g376
sg11
F20.17
ssS'Cs'
p383
(dp384
g3
F132.905433
sg4
S'Cesium'
p385
sg6
I55
sg7
(lp386
(F133.0
F132.905433
F100.0
tp387
asg10
g383
sg11
F132.9054
ssS'Si'
p388
(dp389
g3
F27.976928
sg4
S'Silicon'
p390
sg6
I14
sg7
(lp391
(F28.0
F27.976928
F92.23
tp392
a(F29.0
F28.976496
F4.67
tp393
a(F30.0
F29.973772
F3.1
tp394
asg10
g388
sg11
F28.0855
ssS'U'
p395
(dp396
g3
F238.050786
sg4
S'Uranium'
p397
sg6
I92
sg7
(lp398
(F234.0
F234.040947
F0.006
tp399
a(F235.0
F235.043925
F0.72
tp400
a(F238.0
F238.050786
F99.27
tp401
asg10
g395
sg11
F238.029
ssS'Sn'
p402
(dp403
g3
F119.902199
sg4
S'Tin'
p404
sg6
I50
sg7
(lp405
(F112.0
F111.904826
F0.97
tp406
a(F114.0
F113.902784
F0.65
tp407
a(F115.0
F114.903348
F0.36
tp408
a(F116.0
F115.901744
F14.7
tp409
a(F117.0
F116.902954
F7.7
tp410
a(F118.0
F117.901607
F24.3
tp411
a(F119.0
F118.90331
F8.6
tp412
a(F120.0
F119.902199
F32.4
tp413
a(F122.0
F121.90344
F4.6
tp414
a(F124.0
F123.905271
F5.6
tp415
asg10
g402
sg11
F118.69
ssS'Sm'
p416
(dp417
g3
F151.919741
sg4
S'Samarium'
p418
sg6
I62
sg7
(lp419
(F144.0
F143.912009
F3.1
tp420
a(F147.0
F146.914907
F15.0
tp421
a(F148.0
F147.914832
F11.3
tp422
a(F149.0
F148.917193
F13.8
tp423
a(F150.0
F149.917285
F7.4
tp424
a(F152.0
F151.919741
F26.7
tp425
a(F154.0
F153.922218
F22.7
tp426
asg10
g416
sg11
F150.4
ssS'V'
p427
(dp428
g3
F50.943963
sg4
S'Vanadium'
p429
sg6
I23
sg7
(lp430
(F50.0
F49.947161
F0.25
tp431
a(F51.0
F50.943963
F99.75
tp432
asg10
g427
sg11
F50.9415
ssS'Sc'
p433
(dp434
g3
F44.955914
sg4
S'Scandium'
p435
sg6
I21
sg7
(lp436
(F45.0
F44.955914
F100.0
tp437
asg10
g433
sg11
F44.9559
ssS'Sb'
p438
(dp439
g3
F120.903824
sg4
S'Antimony'
p440
sg6
I51
sg7
(lp441
(F121.0
F120.903824
F57.3
tp442
a(F123.0
F122.904222
F42.7
tp443
asg10
g438
sg11
F121.75
ssS'N'
p444
(dp445
g3
F14.003074
sg4
S'Nitrogen'
p446
sg6
I7
sg7
(lp447
(F14.0
F14.003074
F99.63
tp448
a(F15.0
F15.000109
F0.37
tp449
asg10
g444
sg11
F14.0067
ssS'Os'
p450
(dp451
g3
F191.961487
sg4
S'Osmium'
p452
sg6
I76
sg7
(lp453
(F184.0
F183.952514
F0.02
tp454
a(F186.0
F185.953852
F1.58
tp455
a(F187.0
F186.955762
F1.6
tp456
a(F188.0
F187.95585
F13.3
tp457
a(F189.0
F188.958156
F16.1
tp458
a(F190.0
F189.958455
F26.4
tp459
a(F192.0
F191.961487
F41.0
tp460
asg10
g450
sg11
F190.2
ssS'Kr'
p461
(dp462
g3
F83.911506
sg4
S'Krypton'
p463
sg6
I36
sg7
(lp464
(F78.0
F77.920397
F0.35
tp465
a(F80.0
F79.916375
F2.25
tp466
a(F82.0
F81.913483
F11.6
tp467
a(F83.0
F82.914134
F11.5
tp468
a(F84.0
F83.911506
F57.0
tp469
a(F86.0
F85.910614
F17.3
tp470
asg10
g461
sg11
F83.8
ssS'Th'
p471
(dp472
g3
F232.038054
sg4
S'Thorium'
p473
sg6
I90
sg7
(lp474
(F232.0
F232.038054
F100.0
tp475
asg10
g471
sg11
F232.0381
ssS'Zn'
p476
(dp477
g3
F63.929145
sg4
S'Zinc'
p478
sg6
I30
sg7
(lp479
(F64.0
F63.929145
F48.6
tp480
a(F66.0
F65.926035
F27.9
tp481
a(F67.0
F66.927129
F4.1
tp482
a(F68.0
F67.924846
F18.8
tp483
a(F70.0
F69.925325
F0.6
tp484
asg10
g476
sg11
F65.38
ssS'Co'
p485
(dp486
g3
F58.933198
sg4
S'Cobalt'
p487
sg6
I27
sg7
(lp488
(F59.0
F58.933198
F100.0
tp489
asg10
g485
sg11
F58.9332
ssS'Ge'
p490
(dp491
g3
F73.921179
sg4
S'Germanium'
p492
sg6
I32
sg7
(lp493
(F70.0
F69.92425
F20.5
tp494
a(F72.0
F71.92208
F27.4
tp495
a(F73.0
F72.923464
F7.8
tp496
a(F74.0
F73.921179
F36.5
tp497
a(F76.0
F75.921403
F7.8
tp498
asg10
g490
sg11
F72.59
ssS'Ag'
p499
(dp500
g3
F106.905095
sg4
S'Silver'
p501
sg6
I47
sg7
(lp502
(F107.0
F106.905095
F51.84
tp503
a(F109.0
F108.904754
F48.16
tp504
asg10
g499
sg11
F107.868
ssS'Cl'
p505
(dp506
g3
F34.968853
sg4
S'Chlorine'
p507
sg6
I17
sg7
(lp508
(F35.0
F34.968853
F75.77
tp509
a(F37.0
F36.965903
F24.23
tp510
asg10
g505
sg11
F35.453
ssS'Ca'
p511
(dp512
g3
F39.962591
sg4
S'Calcium'
p513
sg6
I20
sg7
(lp514
(F40.0
F39.962591
F96.95
tp515
a(F42.0
F41.958622
F0.65
tp516
a(F43.0
F42.95877
F0.14
tp517
a(F44.0
F43.955485
F2.086
tp518
a(F46.0
F45.953689
F0.004
tp519
a(F48.0
F47.952532
F0.19
tp520
asg10
g511
sg11
F40.08
ssS'Ir'
p521
(dp522
g3
F192.962942
sg4
S'Iridium'
p523
sg6
I77
sg7
(lp524
(F191.0
F190.960603
F37.3
tp525
a(F193.0
F192.962942
F62.7
tp526
asg10
g521
sg11
F192.22
ssS'Al'
p527
(dp528
g3
F26.981541
sg4
S'Aluminum'
p529
sg6
I13
sg7
(lp530
(F27.0
F26.981541
F100.0
tp531
asg10
g527
sg11
F26.98154
ssS'Ce'
p532
(dp533
g3
F139.905442
sg4
S'Cerium'
p534
sg6
I58
sg7
(lp535
(F136.0
F135.90714
F0.19
tp536
a(F138.0
F137.905996
F0.25
tp537
a(F140.0
F139.905442
F88.48
tp538
a(F142.0
F141.909249
F11.08
tp539
asg10
g532
sg11
F140.12
ssS'Cd'
p540
(dp541
g3
F113.903361
sg4
S'Cadmium'
p542
sg6
I48
sg7
(lp543
(F106.0
F105.906461
F1.25
tp544
a(F110.0
F109.903007
F12.49
tp545
a(F111.0
F110.904182
F12.8
tp546
a(F112.0
F111.902761
F24.13
tp547
a(F113.0
F112.904401
F12.22
tp548
a(F114.0
F113.903361
F28.73
tp549
a(F116.0
F115.904758
F7.49
tp550
asg10
g540
sg11
F112.41
ssS'As'
p551
(dp552
g3
F74.921596
sg4
S'Arsenic'
p553
sg6
I33
sg7
(lp554
(F75.0
F74.921596
F100.0
tp555
asg10
g551
sg11
F74.9216
ssS'Ar'
p556
(dp557
g3
F39.962383
sg4
S'Argon'
p558
sg6
I18
sg7
(lp559
(F36.0
F35.967546
F0.34
tp560
a(F38.0
F37.962732
F0.063
tp561
a(F40.0
F39.962383
F99.6
tp562
asg10
g556
sg11
F39.948
ssS'Au'
p563
(dp564
g3
F196.96656
sg4
S'Gold'
p565
sg6
I79
sg7
(lp566
(F197.0
F196.96656
F100.0
tp567
asg10
g563
sg11
F196.9665
ssS'Zr'
p568
(dp569
g3
F89.904708
sg4
S'Zirconium'
p570
sg6
I40
sg7
(lp571
(F90.0
F89.904708
F51.45
tp572
a(F91.0
F90.905644
F11.27
tp573
a(F92.0
F91.905039
F17.17
tp574
a(F94.0
F93.906319
F17.33
tp575
a(F96.0
F95.908272
F2.78
tp576
asg10
g568
sg11
F91.22
ssS'Ga'
p577
(dp578
g3
F68.925581
sg4
S'Gallium'
p579
sg6
I31
sg7
(lp580
(F69.0
F68.925581
F60.1
tp581
a(F71.0
F70.924701
F39.9
tp582
asg10
g577
sg11
F69.735
ssS'In'
p583
(dp584
g3
F114.903875
sg4
S'Indium'
p585
sg6
I49
sg7
(lp586
(F113.0
F112.904056
F4.3
tp587
a(F115.0
F114.903875
F95.7
tp588
asg10
g583
sg11
F114.82
ssS'Eu'
p589
(dp590
g3
F152.921243
sg4
S'Europium'
p591
sg6
I63
sg7
(lp592
(F151.0
F150.91986
F47.8
tp593
a(F153.0
F152.921243
F52.2
tp594
asg10
g589
sg11
F151.96
ssS'Cr'
p595
(dp596
g3
F51.94051
sg4
S'Chromium'
p597
sg6
I24
sg7
(lp598
(F50.0
F49.946046
F4.35
tp599
a(F52.0
F51.94051
F83.79
tp600
a(F53.0
F52.940651
F9.5
tp601
a(F54.0
F53.938882
F2.36
tp602
asg10
g595
sg11
F51.996
ssS'Tm'
p603
(dp604
g3
F168.934225
sg4
S'Thulium'
p605
sg6
I69
sg7
(lp606
(F169.0
F168.934225
F100.0
tp607
asg10
g603
sg11
F168.9342
ssS'Cu'
p608
(dp609
g3
F62.929599
sg4
S'Copper'
p610
sg6
I29
sg7
(lp611
(F63.0
F62.929599
F69.17
tp612
a(F65.0
F64.927792
F30.83
tp613
asg10
g608
sg11
F63.546
ssS'Er'
p614
(dp615
g3
F165.930305
sg4
S'Erbium'
p616
sg6
I68
sg7
(lp617
(F162.0
F161.928787
F0.14
tp618
a(F164.0
F163.929211
F1.61
tp619
a(F166.0
F165.930305
F33.6
tp620
a(F167.0
F166.932061
F22.95
tp621
a(F168.0
F167.932383
F26.8
tp622
a(F170.0
F169.935476
F14.9
tp623
asg10
g614
sg11
F167.26
ss.'''

class element:
    def __init__(self):
        self.name = ''
        self.sym = ''
        self.ma = None
        self.mi = None
        self.mw = None
        self.ano = None
        self.isos = []

dic = pickle.loads(pkl_string)

Elements = {}

for k, v in dic.items():
    e = element()
    e.name = v['name']
    e.sym = v['sym']
    e.isos = v['isos']
    e.mi = min(e.isos)
    e.isos_no_mi = [i for i in e.isos if i != e.mi]
    e.mi = e.mi[1]
    e.ma = v['ma']
    e.ano = v['ano']
    e.mw = v['mw']
    Elements[k] = e

if __name__ == '__main__':
    for k, v in Elements.items():
        print k, Elements[k].isos_no_mi, Elements[k].isos
    #fm = 'BrCH3'
